﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Result.aspx.cs" Inherits="MW.Web.Result" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <table>
        <tr>
            <td>
                <a href="Default.aspx"><img src="images/logo_header.png" style="border:0px;" /></a>
            </td>
            <td style="padding: 10 0 10 0;">
                <asp:TextBox ID="txtSearchHeader" runat="server" Style="width: 300px;" />
                <asp:Button ID="btnSearchHeader" runat="server" Text="Metadata 搜索" Style="width: 120px;"
                    OnClick="btnSearchHeader_Click" />
            </td>
        </tr>
    </table>
    <div style="background-color: #f0f7f9; border-top: solid 1px #6b90da;
        font-size: small; padding: 8px;">
        符合<strong><asp:Literal ID="ltlKeyword" runat="server" /></strong>的查询结果 (<asp:Literal
            ID="ltlNote" runat="server">&nbsp;</asp:Literal>)
    </div>
    <div style="height: 500px;">
        <asp:ListView ID="lvResult" runat="server">
            <ItemTemplate>
                <div style="padding: 15px;">
                    <div>
                        <a href='Detail.aspx?uid=<%# Eval("Meta.UniqueID") %>' target="_blank">
                            <%# Convert.ToString(Eval("Title")).Replace("|", "&nbsp;") %>
                        </a>
                    </div>
                    <div style="font-size: small;">
                        <%# Convert.ToString(Eval("Description")).Replace("|", "<br />") %>
                    </div>
                </div>
            </ItemTemplate>
            <LayoutTemplate>
                <div runat="server" id="itemPlaceholder">
                </div>
            </LayoutTemplate>
        </asp:ListView>
    </div>
    <div style="border-top: solid 1px #6b90da; border-bottom: solid 1px #6b90da; background-color: #f0f7f9;
        width: auto; height: 60px; text-align: center; padding-top: 20px; padding-bottom: 20px;">
        <asp:TextBox ID="txtSearchFooter" runat="server" Style="width: 300px;" />
        <asp:Button ID="btnSearchFooter" runat="server" Text="Metadata 搜索" Style="width: 120px;"
            OnClick="btnSearchFooter_Click" />
    </div>
    </form>
</body>
</html>
